const HTTP = require("./request");
module.exports = {
  "getMiproduct":function(data){
      return HTTP({
        url:"/miproduct/view",
        method:"get",
        data
      })
  },

  //分类
  "getCategory":function(data){
    return HTTP({
      url:"home/category_v2",
      method:"get",
      data
    })
  },

  //搜索
  "getSearchData": function (data) {
    return HTTP({
      url: "/hisearch/query_v3",
      method: "get",
      data
    })
  },
 // 搜索详情
 "getSearchDetails": function (data) {
  console.log(data);
  return HTTP({
    url: "/hisearch/query_v3?query=" + data,
    method: "get",
  })
},
  


}